<%@ tag language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="s"%>
<%@ attribute name="headPart" fragment="true"%>
<%@ attribute name="pageName" required="false"%>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="shortcut icon" href="<c:url value="/resources/images/favicon.ico" />"/>
	<link rel="bookmark" href="<c:url value="/resources/images/favicon.ico" />"/>
	<link href="<c:url value="/resources/bootstrap/css/bootstrap.css" />" rel="stylesheet">
	<link href="<c:url value="/resources/css/common.css" />" rel="stylesheet">
	<style>
		#app{
			background:  url(<c:url value="/resources/images/android.png"/>) no-repeat ;
			display: inline-block;
			height: 16px;
			width: 16px;
			vertical-align: top;
		}
	</style>
	
	<script src="<c:url value="/resources/jquery/jquery-2.1.1.min.js" />"></script>
    <script src="<c:url value="/resources/bootstrap/js/bootstrap.min.js" />"></script>
	<script charset="gbk" src="http://p.tanx.com/ex?i=mm_121099451_20202062_69056128"></script>
	<jsp:invoke fragment="headPart"></jsp:invoke>
	<title>查车信息</title>
</head>
<body>
	<!-- top -->
  	 <!-- Fixed navbar -->
    <nav class="navbar navbar-default navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
        	<img id="logo" src="<c:url value="/resources/images/logo-s.png"/>">
        </div>
        <!-- Note that the .navbar-collapse and .collapse classes have been removed from the #navbar -->
        <div id="navbar">
        	<ul class="nav navbar-nav">
            	<li <c:if test="${pageName eq 'home'}">class="active"</c:if>><a href="<c:url value="/"/>">首页</a></li>
            	<li <c:if test="${pageName eq 'car_price'}">class="active"</c:if>><a href="<c:url value="/p"/>">车价查询</a></li>
            	<li <c:if test="${pageName eq 'seller_review'}">class="active"</c:if>><a href="<c:url value="/r"/>">经销商评价</a></li>
            	<li <c:if test="${pageName eq 'faq'}">class="active"</c:if>><a href="<c:url value="/faq"/>">常见问题</a></li>
            	<li <c:if test="${pageName eq 'contact'}">class="active"</c:if>><a href="<c:url value="/c"/>">联系方式</a></li>
            </ul>
           	<a style="margin-top: 14px;" class="btn btn-success btn-sm" href="<c:url value="/resources/chachexinxi.apk"/>"><span id="app"></span>Android下载</a>
        </div>
      </div>
    </nav>
	<!-- main -->
	<div class="container body">
		<jsp:doBody />
	</div>
	<div class="footer">
		|@2016-2017 www.chachexinxi.cn|
	</div>

</body>
</html>
